from django.db import models

# Create your models here.

from Epic.account.models import UserProfile
from django.contrib import admin

class Book(models.Model):
    bookName = models.CharField(max_length = 128)
    # coverPic = models.ForeignKey(Picture)
    author = models.ForeignKey(UserProfile)
    introduction = models.TextField()
    bookTag = models.CharField(max_length = 64)
    bookRleased = models.BooleanField()
    
admin.site.register(Book)